package com.zhu2chu.log4j2monitor.shared.front;

import com.jfinal.config.Routes;
import com.zhu2chu.log4j2monitor.core.IndexController;
import com.zhu2chu.log4j2monitor.webpage.LogMonitorController;

public class FrontRoutes extends Routes {

    @Override
    public void config() {
        setBaseViewPath("/views/front");
        add("/logmonitor", LogMonitorController.class, "/websocket");
        add("/", IndexController.class);
    }

}
